Skip to content

[AUTO-CHERRYPICK] [AutoPR- Security] Patch telegraf for CVE-2026-56852 [HIGH] - branch 3.0-dev - #18257

Open
CBL-Mariner-Bot wants to merge 3 commits into
3.0-devfrom
cblmargh/cherry-pick-pr-18237-to-3.0-dev
Open

[AUTO-CHERRYPICK] [AutoPR- Security] Patch telegraf for CVE-2026-56852 [HIGH] - branch 3.0-dev#18257
CBL-Mariner-Bot wants to merge 3 commits into
3.0-devfrom
cblmargh/cherry-pick-pr-18237-to-3.0-dev

Conversation

@CBL-Mariner-Bot

Copy link
Copy Markdown
Collaborator

This is an auto-generated pull request to cherry-pick commit 0f81265 to 3.0-dev. Original PR: #18237
In case of no merge conflicts, the PR is merged without approval because it's an automated cherry-pick of an already approved PR.
In case of merge conflicts, an AI-based conflict resolver will attempt to resolve conflicts and might make mistakes. The reviewer must check AI's work before approving.

@CBL-Mariner-Bot CBL-Mariner-Bot added the Auto Fast-track Cherry-pick Automatic cherry-pick from fast-track branch label Jul 30, 2026
@CBL-Mariner-Bot
CBL-Mariner-Bot marked this pull request as ready for review July 30, 2026 01:01
@CBL-Mariner-Bot
CBL-Mariner-Bot requested a review from a team as a code owner July 30, 2026 01:01
@CBL-Mariner-Bot

Copy link
Copy Markdown
Collaborator Author

All conflicts resolved.

@CBL-Mariner-Bot

Copy link
Copy Markdown
Collaborator Author

Auto Cherry-Pick SPEC Validation Summary

telegraf SPEC summary

Source (fasttrack) Target (3.0-dev) Resolved
Version 1.31.0 1.31.0 None
Release 25 26 27
Patches 53 55 56
Conflict Yes

⚠️ Validation issues:

  • Version-release None-27 is not higher than Source 1.31.0-25
  • Version-release None-27 is not higher than Target 1.31.0-26
  • Duplicate changelog entry for 1.31.0-23 (appears 2 times)
  • Duplicate changelog entry for 1.31.0-22 (appears 2 times)
  • Changelog out of order: 1.31.0-22 appears before 1.31.0-23
  • Directive present in both Source and Target was dropped: BuildRequires: golang
  • Directive present in both Source and Target was dropped: BuildRequires: systemd-devel

⚠️ Manual review required — validation found issues that may need correction.

The auto-cherry-pick AI resolver left several corruptions in the
telegraf.spec merge for CVE-2026-56852:

- Stripped the spec header (Summary, Name, Version, License, Vendor,
  Distribution), leaving only Release
- Dropped BuildRequires: golang and BuildRequires: systemd-devel
- Dropped %dir %{_sysconfdir}/%{name}/telegraf.d from %files
- Inserted a blank line at the top of %changelog and misplaced the
  section header
- Duplicated the -22 and -23 changelog entries

This commit rebuilds the SPEC from 3.0-dev's canonical head and applies
the fasttrack CVE-2026-56852 change per playbook rules:
- Release 26 -> 27
- Patch53 slot preserved for CVE-2026-56852 (fasttrack canonical)
- 3.0-dev-only patches renumbered up: 29923/46327/54908 -> 54/55/56
- Fasttrack changelog entry (-25, Jul 28) preserved verbatim
- 3.0-dev-only changelog entries renumbered up (-26/-27) and dates
  bumped to Jul 30 so they are not older than the fasttrack -25 entry

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 26b18818-c4ef-43b9-ad6c-26bbf7c5259e
@jslobodzian

Copy link
Copy Markdown
Collaborator

[Toolio Iglesias🗺️]

Pushed a corrective commit (6d1646e) fixing the auto-cherry-pick artifacts left by the AI conflict resolver:

  • Restored the stripped spec header (Summary, Name, Version, License, Vendor, Distribution)
  • Restored dropped BuildRequires (golang, systemd-devel) and %files entry (%dir telegraf.d)
  • Removed duplicate -22 and -23 changelog entries
  • Fixed misplaced %changelog section header + stray blank line

Also re-applied the fasttrack cherry-pick rules cleanly:

  • Release 26 → 27
  • Patch53 slot preserved for CVE-2026-56852 (fasttrack canonical, per playbook §5.2)
  • 3.0-dev-only patches renumbered up (Patch54=CVE-29923, Patch55=CVE-46327, Patch56=CVE-54908)
  • Fasttrack changelog entry (-25, Jul 28) preserved verbatim
  • 3.0-dev-only changelog entries renumbered up (-26/-27) with dates bumped to Jul 30 so they're not older than the fasttrack -25 entry (per playbook §5.3.3)

CI should re-run. Ready for review /cc @cblmargh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Auto Fast-track Cherry-pick Automatic cherry-pick from fast-track branch Automatic PR Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants